/*
 * @Author: dfh
 * @Date: 2024-03-13 14:28:28
 * @LastEditors: dfh
 * @Modified By: dfh
 * @describe: 
 */
import http from "@/utils/request";


export function fetchOpenId(code) {
    return http.get({
      url: `/login/getOpenid/${code}`
    });
  }

  export function fetchToken(data) {
    return http.post({
      url: `/login/getToken`,
      data
    });
  }